home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 25 / AMIGAplus Sonderheft 25 (2000)(Falke)(DE)(Track 1 of 4)[!].iso / Updates / Hardware / FreeWheel / Prefs.h < prev    next >
C/C++ Source or Header  |  2000-03-12  |  658b  |  23 lines

  1. #ifndef PREFS_H
  2. #define PREFS_H
  3.  
  4. struct PrefsGroup
  5. {
  6.   void (*Dispose)(struct PrefsGroup *pg);
  7.   BOOL (*Save)(struct PrefsGroup *pg);
  8.   char *(*GetString)(struct PrefsGroup *pg,char *ItemID,char *def);
  9.   long (*GetLong)(struct PrefsGroup *pg,char *ItemID,long def);
  10.   BOOL (*SetString)(struct PrefsGroup *pg,char *ItemID,char *data);
  11.   BOOL (*SetLong)(struct PrefsGroup *pg,char *ItemID,long data);
  12.   /* Everything past this point is private! */
  13.   struct PrefsNode *(*GetNode)(struct PrefsGroup *pg,char *ItemID);
  14.   struct PrefsGroup *Next,*Prev;
  15.   struct PrefsNode *FirstNode;
  16.   char Name[32];
  17. };
  18.  
  19. struct PrefsGroup *Prefs_GetGroup(char *GroupID);
  20.  
  21. #endif
  22.  
  23.